class AirCondition:
    """初始化空调对象"""
    def __init__(self):
        self._brand = '' # 品牌
        self._price = 0 # 价格

    def open(self) -> None:
        """空调开机"""
        print("空调开机了...")

    def set_brand(self, brand) -> None:
        """设置空调品牌"""
        self._brand = brand

    def set_price(self, price) -> None:
        """设置空调价格"""
        self._price = price

    def get_brand(self) -> str:
        """获得空调品牌信息"""
        return self._brand

    def get_price(self) -> int:
        """获得空调价格信息"""
        return self._price

    def timedShutdown(self, t) -> None:
        """定时关机"""
        print(f"空调将在{t}分钟后自动关闭...")

class TestAirCondition(AirCondition):
    def __init__(self):
        super().__init__()
        self.set_brand("海尔")
        self.set_price(123456)